<?php

class Friends_model extends CI_Model {
    function __construct(){
        parent::__construct();
    }

	function GetFriendsByid($id){
		$this->db->from(" wb_twoway_relationship");
		$this->db->where('uid',$id);
		$query = $this->db->get();
		return $query->result_array();
	}
}

?>